package com.desay.pangoo.itmt.repository.rag;

import com.desay.pangoo.itmt.entity.rag.ProductDemandEntity;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;

/**
 * 产品需求的DAO层
 * @author uids1175
 */

@Repository
public interface ProductDemandRepository extends CrudRepository<ProductDemandEntity,Long> {

    List<ProductDemandEntity> findAllByMessageIdIn(Collection<Long> messageIds);
}
